package com.huabo.monitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author：yhr
 * @date:2022-08-31 08:42
 * @description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TblAssessVo implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty("评价项目ID")
    private BigDecimal assid;

    @ApiModelProperty("评价项目编号")
    private String assessid;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern="yyyy-MM-dd")
    private LocalDateTime startdate;

    @ApiModelProperty("结束是时间")
    @JsonFormat(pattern="yyyy-MM-dd")
    private LocalDateTime enddate;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("状态(1创建2启动)")
    private String assstatus;

    @ApiModelProperty("发起日期")

    @JsonFormat(pattern="yyyy-MM-dd")
    private LocalDateTime assstartday;

    @ApiModelProperty("评价组织")
    private String assorgs;

    @ApiModelProperty("评价项目名称")
    private String assessname;

    @ApiModelProperty("评价对象")
    private String asssponsor;

    @ApiModelProperty("归档人")
    private String archiveperson;

    @ApiModelProperty("归档时间")
    private LocalDateTime archivetime;

    @ApiModelProperty("初步评价等级")
    private String preliminaryasslevel;

    @ApiModelProperty("初步评价评分")
    private BigDecimal preliminaryassscore;

    @ApiModelProperty("校正级别")
    private String adustlevel;

    @ApiModelProperty("校正原因")
    private String adjustreson;

    private String analysissummary;

    private BigDecimal finalscore;

    //TBL_ASSESSTEMPLE 外键
    private BigDecimal asstemid;
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss")
    private LocalDateTime assessdate;

    //TBL_STAFF 外键
    @ApiModelProperty("评价负责人")
    private BigDecimal leaderid;

    private String tblcomany;
     //模板名称
    private String  templename;

    @ApiModelProperty("负责人名字")
    private String realname;

    @ApiModelProperty("负责人登录名")
    private String username;


    @ApiModelProperty("评价对象名称")
    private String  orgname;
    @ApiModelProperty("被评价对象")
    private BigDecimal orgid;

}
